package com.bonuo.erp.mapper;

import com.bonuo.erp.domain.EmployeeRoster;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

public interface EmployeeRosterMapper {
    /**
     * 查询员工花名册列表
     */
    List<EmployeeRoster> selectEmployeeRosterList(EmployeeRoster employee);
    
    /**
     * 根据ID查询员工
     */
    EmployeeRoster selectEmployeeRosterById(Integer id);
    
    /**
     * 根据工号查询员工
     */
    EmployeeRoster selectEmployeeRosterByNo(String employeeNo);
    
    /**
     * 新增员工
     */
    Integer insertEmployeeRoster(EmployeeRoster employee);
    
    /**
     * 修改员工
     */
    Integer updateEmployeeRoster(EmployeeRoster employee);

    Integer deleteEmployeeRosterById(Integer id);
}